﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using CookComputing.XmlRpc;
using Drupalxmlrpc.DrupalNode;

namespace Drupalxmlrpc
{
    [XmlRpcMissingMapping(MappingAction.Ignore)]
    public class DrupalNodeInterval
    {
        public string type;
        public string nid;
        public string title;
        public string body;
        public string uid;
        public string comment;
        // field_hash_md5;
        //public StringField[] field_hash_md5;
        public StringStruct[] field_hash_md5;

       // public IntField[] field_length;


        public DrupalNodeInterval(string title, string body)
        {
            this.type = "interval";
            this.nid = "0";
            this.title = title;
            this.body = body;
            this.uid = "0";
            this.comment = "";
            //field_length = fieldLength;
        }
    }
}